package com.oxchinx.order.model.enums;

import lombok.Getter;

/**
 * Created by dell on 2018/5/23.
 * 订单完成状态
 */
@Getter
public enum OrderStatusEnum {
    NEW(0,"new order","新订单"),
    FINISHED(1,"finished","已完成"),
    CANCEL(2,"cancel","取消"),
    ;
    private Integer code;
    private String name;
    private String desc;

    OrderStatusEnum(Integer code, String name, String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }
}
